<?php
$this->title = '期刊资源';
$this->registerCss("
	.page-resource{margin:0 auto;padding:60px 12%;}
	.content-text p{background:unset !important}
	.content-text span{background:unset !important}
	.intro-cont p{background:unset !important}
	.intro-cont span{background:unset !important}
");
$per_url = Yii::$app->params['imgurl'];
?>

<div class="page-resource">
    <div style="border:1px solid #ccc;">
        <div style="padding: 10px 15px;background: #f3f2f2;">
            <p style="margin-bottom: 0px;font-size: 16px"><span style="padding: 0 3px;background: #F6C900;margin-right: 10px"></span>期刊资源</p>
        </div>

        <div class="resource-view">
            <div class="title" style="border-bottom: 1px dotted #ccc;margin:0px 15px;padding: 15px 0px">
                <p style="font-weight: bold;font-size: 18px;color:#333;text-align: center;margin-bottom: 0px"><?=$model->title?></p>
            </div>
            <div class="resource-cont" style="margin: 15px;">
                <div style="display: flex;align-items: center">
                    <div style="flex: 1">
                        <img src="<?=$per_url . $model->image_path?>" alt="" style="width:100%;">
                    </div>
                    <div style="flex: 3;">
                        <div class="content-text" style="padding: 15px 30%">
                            <?=$model->content?>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </div>

    <div style="border:1px solid #ccc;margin-top: 50px">
        <div style="padding: 10px 15px;background: #f3f2f2;">
            <p style="margin-bottom: 0px;font-size: 16px"><span style="padding: 0 3px;background: #F6C900;margin-right: 10px"></span>简介</p>
        </div>

        <div class="intro-cont" style="padding: 15px">
            <?=$model->intro?>
        </div>

    </div>
</div>
